package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.CartBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ICartMapper extends BaseMapper<CartBean> {
    public List<CartBean> findByUserId(Integer userId);
    public Integer computeCartPrice(Integer userId);
}
